package com.ls.pattern.establish.factory.pizza;

public abstract class Pizza {
    private String name;

    //准备原材料
    public abstract void prepare();

    public void bake() {
    }

    public void cut() {
    }

    public void box() {
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public String order() {
        return getName() + "订单";
    }

}
